package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.model.DVehicleClassify;
import cn.huiyunche.base.service.model.DVehicleClassifyExample;
import cn.huiyunche.base.service.vo.DVehicleClassifyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * The interface D vehicle classify ext mapper.
 *
 * @FileName: cn.huiyunche.base.service.mappers.ext
 * @Description: 车型分类扩展mapper
 * @author: Aaron
 * @date: 2017 /3/2 下午8:59
 */
public interface DVehicleClassifyExtMapper {
    /**
     * Count by example int.
     *
     * @param example the example
     * @return the int
     */
    int countByExample(DVehicleClassifyExample example);

    /**
     * Select by example list.
     *
     * @param example the example
     * @return the list
     */
    List<DVehicleClassifyVo> selectByExample(DVehicleClassifyExample example);

    /**
     * 根据分类名称查询
     * @param vehicleClassifyName
     * @return
     */
    List<DVehicleClassify> findByName(String vehicleClassifyName);

    /**
     * 根据分类名称模糊查询
     * @param vehicleClassifyName
     * @return
     */
    List<DVehicleClassify> findVehicleClassify(@Param("vehicleClassifyName") String vehicleClassifyName, @Param("startIndex") Integer startIndex, @Param("endIndex") Integer endIndex);
}
